home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Easy 2010 May
/
Mac Life Ubuntu.iso
/
casper
/
filesystem.squashfs
/
usr
/
src
/
linux-headers-2.6.28-15
/
arch
/
cris
/
include
/
asm
/
current.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2008-12-24
|
268 b
|
16 lines
#ifndef _CRIS_CURRENT_H
#define _CRIS_CURRENT_H
#include <linux/thread_info.h>
struct task_struct;
static inline struct task_struct * get_current(void)
{
return current_thread_info()->task;
}
#define current get_current()
#endif /* !(_CRIS_CURRENT_H) */